<?php

namespace Models;

class Item extends Model
{
	protected $_table = 'items';

	protected $_default_filter = 'items.is_delete=0';

	protected $_belongs = [
		'product' => [
			'class' => Product::class,
			'foreign' => 'id',
			'belongs_key' => 'product_id',
		]
	];
}